ElementIsInList
Type
operator
Summary
Determines if a given element is in Target
Syntax
<Needle> is in <Target>
Description
Needle must be an element of Target rather than a sublist, or contained within a list element of Target.
Parameters
Name | Type | Description |
---|---|---|
Needle | Any expression. | |
Target | An expression which evaluates to a list. |
Examples
variable tList as List
put [ "a", "b", "c", "d" ] into tList
variable tIsIn as Boolean
put "a" is in tList into tIsIn -- tIsIn contains true